package com.jiawa.train.business.service;

import cn.hutool.core.bean.BeanUtil;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jiawa.train.business.domain.Train;
import com.jiawa.train.business.req.TrainQueryReq;
import com.jiawa.train.business.req.TrainSaveReq;
import com.jiawa.train.business.resp.TrainQueryResp;
import com.jiawa.train.common.resp.PageResp;

import java.util.List;

public interface TrainService extends IService<Train> {
    void save(com.jiawa.train.business.req.TrainSaveReq req);
    // 可添加自定义方法声明

    PageResp<TrainQueryResp> queryList(com.jiawa.train.business.req.TrainQueryReq req);
    void delete(Long id);
    List<TrainQueryResp> queryAll();
    List<Train> selectAll();
}
